home *** CD-ROM | disk | FTP | other *** search
/ Chip 2006 June (Extra) / CHIP 2006-06.3.iso / program / opensource / clamav-devel.exe / contrib / Windows / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-05-16  |  1.9 KB  |  69 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. /*
  6.  *  Copyright (C) 2004 Nigel Horne <njh@bandsman.co.uk>
  7.  *
  8.  *  This program is free software; you can redistribute it and/or modify
  9.  *  it under the terms of the GNU General Public License as published by
  10.  *  the Free Software Foundation; either version 2 of the License, or
  11.  *  (at your option) any later version.
  12.  *
  13.  *  This program is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  *  GNU General Public License for more details.
  17.  *
  18.  *  You should have received a copy of the GNU General Public License
  19.  *  along with this program; if not, write to the Free Software
  20.  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  21.  *  MA 02110-1301, USA.
  22.  */
  23. #ifndef    _MAINFRM_H
  24.  
  25. class CMainFrame : public CFrameWnd
  26. {
  27. protected: // create from serialization only
  28.     CMainFrame();
  29.     DECLARE_DYNCREATE(CMainFrame)
  30.  
  31. // Attributes
  32. public:
  33.  
  34. // Operations
  35. public:
  36.     void    ChangeStatusText(const CString &text);
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(CMainFrame)
  41.     //}}AFX_VIRTUAL
  42.  
  43. // Implementation
  44. public:
  45.     virtual ~CMainFrame();
  46. #ifdef _DEBUG
  47.     virtual void AssertValid() const;
  48.     virtual void Dump(CDumpContext& dc) const;
  49. #endif
  50.  
  51. protected:  // control bar embedded members
  52.     CStatusBar  m_wndStatusBar;
  53.     CToolBar    m_wndToolBar;
  54.  
  55. // Generated message map functions
  56. protected:
  57.     //{{AFX_MSG(CMainFrame)
  58.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  59.     afx_msg void OnDropFiles(HDROP hDropInfo);
  60.     //}}AFX_MSG
  61.     DECLARE_MESSAGE_MAP()
  62. };
  63.  
  64. #define    _MAINFRM_H
  65. #endif    _MAINFRM_H
  66.  
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69.